package com.atguigu.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author clj
 */
@SpringBootApplication
@EnableEurekaClient
// 添加这个注解后,可以使用DiscoveryClient对象(DiscoveryClient对象可以获取微服务的相关信息)
@EnableDiscoveryClient
public class PaymentMain8011 {

    public static void main(String[] args){
        SpringApplication.run(PaymentMain8011.class, args);
    }

}
